@keyframes rotate {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
  }

@keyframes movement{
	0%,
	100%{
		background-size: 
			130vmax 130vmax,
			80vmax 80vmax,
			90vmax 90vmax,
			110vmax 110vmax,
			90vmax 90vmax;
		background-position: 
			-80vmax -80vmax,
			60vmax -30vmax,
			10vmax 10vmax,
			-30vmax -10vmax,
			50vmax 50vmax;
	}

	25%{
		background-size: 
			100vmax 100vmax,
			90vmax 90vmax,
			100vmax 100vmax,
			90vmax 90vmax,
			60vmax 60vmax;
		background-position: 
			-60vmax -90vmax,
			50vmax -40vmax,
			0vmax -20vmax,
			-40vmax -20vmax,
			40vmax 60vmax;
	}

	50%{
		background-size: 
			80vmax 80vmax,
			110vmax 110vmax,
			80vmax 80vmax,
			60vmax 60vmax,
			80vmax 80vmax;
		background-position: 
			-50vmax -70vmax,
			40vmax -30vmax,
			10vmax 0vmax,
			20vmax 10vmax,
			30vmax 70vmax;
	}

	75%{
		background-size: 
			90vmax 90vmax,
			90vmax 90vmax,
			100vmax 100vmax,
			90vmax 90vmax,
			70vmax 70vmax;
		background-position: 
			-50vmax -40vmax,
			50vmax -30vmax,
			20vmax 0vmax,
			-10vmax 10vmax,
			40vmax 60vmax;
	}
}

/* 公共样式 */
.right-content .group .groupName{
	font-size: 20px;
	font-weight: bold;
}

.right-content .group .content .item .pimg{
	height: 100%;
	padding: 0 15px;
	margin: 0 auto;
}

.right-content .group .content .item .desc{
	text-align: center;
	color: #858585;
}

/* 鼠标经过时触发 */
.right-content .group .content .item:hover {
	background-color: #7DD9E6;
	cursor: pointer;
}

.right-content .group .content .item:hover .title {
	color: #fff;
}

.right-content .group .content .item:hover .desc {
	color: #fff;
}

.right-content .group .content .item .info{
	width:100%;
	position:absolute;
	bottom:-25%;
	background-color:#fff;
	opacity: 0.7;
	transition: all 0.5s ease;
	overflow: hidden;
	display: inline-block;
}

.right-content .group .content .item:hover .info{
	bottom:0;
}

.right-content .item .info div{
	margin:0px auto;
	width:100%;
	text-align:center;
	margin-top:10px;
	font-size:15px;
}

/* .back-to {
	bottom: 55px;
	overflow: hidden;
	position: fixed;
	right: 10px;
	width: 50px;
	z-index: 999;
}
.back-to .back-top {
	background: url("../img/backTop.png") no-repeat scroll 0 0 transparent;
	display: block;
	float: right;
	height: 50px;
	margin-left: 10px;
	outline: 0 none;
	text-indent: -9999em;
	width: 50px;
	border-radius: 10px;
} */

.dot {
	position: relative; /* 确保伪类能正常显示 */
}

.dot::after {
	content: ""; /* 必须有内容才会生效 */
	display: inline-block; /* 行内元素 */
	width: 7px; /* 调整大小 */
	height: 7px;
	background-color: green; /* 更换颜色 */
	border-radius: 50%; /* 变成圆形 */
	margin-left: 4px; /* 与文本之间的间距 */
	/* 放在文字左侧 */
	position: absolute;
	left: -14px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0 auto;
}

.dotColor::after{
	background-color: #b942d6;
}

.container .left-card .main .tab{
	width: 90%;
	margin: 30px auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.container .left-card .main .tab a{
	/* 半透明背景 */
	background: rgba(0,0,0,0.2);
	color: #fff;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
	transition: all 0.3s ease-in-out;
}

.container .left-card .main .statistic{
	/* 居中 */
	display: flex;
	margin: 5px;
}

.container .left-card .main .statistic .item{
	width: 33%;
	display: inline-block;
	text-align: center; /* 文字居中 */
	margin: 0 auto;
}

.container .left-card .main .statistic .division{
	/* 右边加一条竖线 */
	border-right: 1px solid rgba(54, 56, 64 ,0.5);
}

h3{
	margin: 5px;
}

.right-content .group-content .group .content .item .myTag{
	/* 文字不换行 */
	white-space: nowrap;
	overflow: hidden;
	text-align: center; /* 文字居中 */
	.tag{
		margin: 5px;
		color: #7DD9E6;
	}
}

.container .left-card .main .ranking::-webkit-scrollbar {
	width: 0; /* 隐藏滚动条 */
  }
.container .left-card .main .ranking {
	padding: 10px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 5px;
	box-shadow: 0 2px 12px 0 rgba(0,0,0,0.1);
	height: 40vh;
	width: 85%;
	margin: 5% auto;
	/* 设置滚动 */
	overflow-y: scroll;
	.title{
		margin-top: 15px;
	}
	.ranking-list{
		margin: 0;
	}
	li{
		/* 取消li的默认样式 */
		list-style: none;
		margin-bottom: 10px;
		position: relative;
		a{
			color: #555666;
			text-decoration: none;
			align-items: center;
			font-size: 14px;
			transition: all 0.3s ease-in-out;
			img{
				width: 14px;
				height: 14px;
				vertical-align: -3px;
				margin-right: 3px;
				margin-left: 4px;
			}
			&:hover{
				color: #b942d6;
			}
		}
	}
}

.back{
	display: flex;
	a{
		width: 30%;
		text-align: center;
		margin: 15px auto;
		color: #7DD9E6;
		height: 35px;
		border-radius: 10px;
		border: 1px solid #7DD9E6;
		background-color: #fff;
		display: flex;
		justify-content: center;
		align-items: center;
		text-decoration: none;
		font-size: 14px;
		cursor: pointer;
		transition: all 0.3s ease-in-out;
		&:hover{
			color: #fff;
			background-color: #7DD9E6;
			border: 2px solid #fff;
		}
	}
}

@keyframes im_icon{
	0%{
	  opacity: 0.8;
	  transform: translate(0,0);
	}
	50%{
	  opacity: 1;
	  transform: translate(0,3px);
	}
	100%{
	  opacity: 0.8;
	  transform: translate(0,0);
	}
  }
.music-icon {
	position: absolute;
	bottom: 0;
	color: #7DD9E6;
	animation:  im_icon 1s linear infinite;
}

/*========== SCROLL UP ==========*/
.back-to{
	position: fixed;
	right: 1rem;
	bottom: -20%;
	background-color: var(--first-color);
	opacity: .8;
	padding: 0 .3rem;
	border-radius: .4rem;
	z-index: var(--z-tooltip);
	transition: .4s;
  }
  
  .back-to:hover{
	font-size: 1.5rem;
	color: #fff;
  }
  /* Show scroll */
  .show-scroll{
	bottom: 5rem;
  }

/* 电脑样式 */
@media (min-width: 768px) {
	body{
		overflow: hidden;
	}
	.container {
		width: 100%;
		  display: grid;
		 grid-template-columns: 1fr 4fr;
		 grid-gap: 1vw; /* 可选，设置两个div之间的间隔 */
	}
	
	/* 左侧样式 */
	.left-card {
		width: 100%;
		height: 100%;
		min-width: 300px;
		background-image: 
			radial-gradient(closest-side, rgba(235, 105, 78, 0.3),rgba(235,105,78,0)),
			radial-gradient(closest-side, rgba(243, 11, 164, 0.3),rgba(243,11,164,0)),
			radial-gradient(closest-side, rgba(254, 234, 131, 0.3),rgba(254, 234, 131,0)),
			radial-gradient(closest-side, rgba(170, 142, 245, 0.3),rgba(170, 142, 245,0)),
			radial-gradient(closest-side, rgba(248, 192, 147, 0.3),rgba(248, 192, 147,0));
		background-size: 
			130vmax 130vmax,
			80vmax 80vmax,
			90vmax 90vmax,
			110vmax 110vmax,
			90vmax 90vmax;
		background-position: 
			-80vmax -80vmax,
			60vmax -30vmax,
			10vmax 10vmax,
			-30vmax -10vmax,
			50vmax 50vmax;
		background-repeat: no-repeat;
		border-radius: 10px;
		animation: 5s movement linear infinite;
		box-shadow: 0 10px 20px rgba(0,0,0,0.5);
	}
	
	.left-card .main .desc{
		margin-top: 10%;
		text-align: center;
		font-size: 15px;
		font-weight: 300px;
		color: #fff;
	}
	
	.left-card .main .avatar{
		margin-top: 15%;
		width: 100%;
		/* 发光 */
		-webkit-filter: drop-shadow(0px 0px 10px #fff);
		-moz-filter: drop-shadow(0px 0px 10px #fff);
		-ms-filter: drop-shadow(0px 0px 10px #fff);
		-o-filter: drop-shadow(0px 0px 10px #fff);
		filter: drop-shadow(0px 0px 10px #fff);
	}
	
	.left-card .main .avatar .avatarImg{
		width:35%;
		height:35%;
		margin: 0 auto;
	}
	
	.xwcms {
		border-radius: 110px;
		width:100%;
		height:100%;
		box-shadow:0 0 0 5px #fff;
		animation: rotate 4s linear infinite;
	}
	
	.left-card .main .name{
		margin-top: 10%;
		font-size: 20px;
		font-weight: bold;
		color: #fff;
		text-align: center;
		/* 自定义属性 --c,可通过 var 函数对其调用 */
		--c:lightseagreen;
		/* 调用自定义属性--c，设置文字阴影（发光效果） */
		text-shadow: 0 0 10px var(--c),
		0 0 20px var(--c),
		0 0 40px var(--c),
		0 0 80px var(--c),
		0 0 160px var(--c);
	}
	
	/* 右侧样式 */
	.right-content {
		width: 100%;
		min-width: 468px;
		border-radius: 10px;
		box-shadow: 0 10px 20px rgba(0,0,0,0.5);
		/* 允许纵向滑动 */
		overflow-y: scroll;
		/* 禁止横向滑动 */
		overflow-x: hidden;
	}
	
	.right-content .group{
		margin: 20px;
		padding: 10px;
	}
	
	.right-content .group .content .item{
		width: 300px;
		height: 100%;
		background-color: #fff;
		border-radius: 10px;
		overflow: hidden;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
		position: relative;
		display: inline-block;
		margin: 15px;
		vertical-align: top; /* 向上对齐 */
	}
	
	.right-content .group .content .item .desc{
		margin: 10px auto;
		width: 80%;
		display: -webkit-box;
		-webkit-line-clamp: 3; /* 行数限制为3行 */
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis; /* 添加省略号 */
		white-space: normal; /* 设置为normal以支持Multiple-line truncation */
	}

	.right-content .group .content .item .title{
		display: block;
		color: #7DD9E6;
		text-align: left;
		font-size: 19px;
		line-height: 20px;
		padding: 15px;
	}
	
	.right-content .group .content .item .pimg img{
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 10px;
		transition: all 0.5s ease;
	}
}

/* 手机样式 */
@media (max-width: 767px) {
	body{
		margin: 0;
	}

	#app{
		width: 100vw;
	}

	.container {
		width: 100%;
		display: grid;
		/* 上下分割 */
		grid-template-rows: 1.2fr 4fr;
		grid-gap: 1vw; /* 可选，设置两个div之间的间隔 */
	}

	.container .left-card .main .tab{
		margin: 5% auto;
	}

	/* 左侧样式 */
	.left-card {
		width: 100vw;
		/* min-height: 400px; */
		background-image: 
			radial-gradient(closest-side, rgba(235, 105, 78, 0.3),rgba(235,105,78,0)),
			radial-gradient(closest-side, rgba(243, 11, 164, 0.3),rgba(243,11,164,0)),
			radial-gradient(closest-side, rgba(254, 234, 131, 0.3),rgba(254, 234, 131,0)),
			radial-gradient(closest-side, rgba(170, 142, 245, 0.3),rgba(170, 142, 245,0)),
			radial-gradient(closest-side, rgba(248, 192, 147, 0.3),rgba(248, 192, 147,0));
		background-size: 
			130vmax 130vmax,
			80vmax 80vmax,
			90vmax 90vmax,
			110vmax 110vmax,
			90vmax 90vmax;
		background-position: 
			-80vmax -80vmax,
			60vmax -30vmax,
			10vmax 10vmax,
			-30vmax -10vmax,
			50vmax 50vmax;
		background-repeat: no-repeat;
		border-radius: 10px;
		animation: 5s movement linear infinite;
		box-shadow: 0 10px 20px rgba(0,0,0,0.5);
	}

	.left-card .main{
		margin-top: 5%;
		width: 100%;
		height: 100%;
	}

	.left-card .main .avatar{
		margin-top: 10%;
		width: 100%;
		/* 发光 */
		-webkit-filter: drop-shadow(0px 0px 10px #fff);
		-moz-filter: drop-shadow(0px 0px 10px #fff);
		-ms-filter: drop-shadow(0px 0px 10px #fff);
		-o-filter: drop-shadow(0px 0px 10px #fff);
		filter: drop-shadow(0px 0px 10px #fff);
	}

	.left-card .main .desc{
		text-align: center;
		font-size: 15px;
		color: #fff;
		margin: 0;
	}

	.left-card .main .avatar .avatarImg{
		width:20%;
		height:20%;
		margin: 0 auto;
	}

	.xwcms {
		border-radius: 110px;
		width:100%;
		height:100%;
		box-shadow:0 0 0 5px #fff;
		animation: rotate 4s linear infinite;
	}

	.left-card .main .name{
		width: 100%;
		margin-top: 5%;
		font-size: 20px;
		font-weight: bold;
		color: #fff;
		text-align: center;
		/* 自定义属性 --c,可通过 var 函数对其调用 */
		--c:lightseagreen;
		/* 调用自定义属性--c，设置文字阴影（发光效果） */
		text-shadow: 0 0 10px var(--c),
		0 0 20px var(--c),
		0 0 40px var(--c),
		0 0 80px var(--c),
		0 0 160px var(--c);
	}

	.right-content {
		width: 100vw;
		height: 100%;
	}

	.right-content .group-content{
		width: 90%;
		margin: 0 auto;
	}

	.right-content .group-content .group{
		padding: 10px;
		margin: 10px auto;
		border-radius: 10px;
		box-shadow: 0 0 10px rgba(0,0,0,0.5);
		background-color: rgba(240, 240, 240, 0.5);
	}

	.right-content .group-content .group .content .item{
		width: 90%;
		background-color: #fff;
		border-radius: 10px;
		overflow: hidden;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
		position: relative;
		/* display: inline-block; */
		margin: 10px auto;
	}

	.right-content .group-content .group .content .item .title{
		display: block;
		color: #7DD9E6;
		text-align: center;
		font-size: 19px;
		padding: 15px;
	}

	.right-content .group-content .group .content .item .pimg img{
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 10px;
		transition: all 0.5s ease;
		margin: 0 auto;
		display: block;
	}

	.right-content .group .content .item .desc{
		width: 80%;
		margin: 10px auto;
		display: -webkit-box;
		-webkit-line-clamp: 3; /* 行数限制为3行 */
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis; /* 添加省略号 */
		white-space: normal; /* 设置为normal以支持Multiple-line truncation */
	}

	.container .left-card .main .ranking,.back {
		display: none;
	}

}
